package net.web.dao;

import net.web.entity.BlogView;
import net.web.tool.DBTool;

import java.util.List;

public class BlogViewDao {

    public List<BlogView> selBlogByAll() {
        return DBTool.selBlogByAll();
    }

    public BlogView selBlogById(int id) {
        return DBTool.selBlogById(id);
    }
}
